package com.wkm.myapplication

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.wkm.myapplication.vp.MyViewPager
import com.wkm.myapplication.vp.VPAdapter

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        val viewPager = findViewById<MyViewPager>(R.id.view_pager)

        val adapter = VPAdapter(this)
        viewPager.adapter = adapter
        adapter.notifyDataSetChanged()
    }

    companion object {
        const val CHANNEL_ID = "110"
    }
}
